package com.example.administrator.testxingpiao.ui.main.exercise;

import com.example.administrator.testxingpiao.bean.ExerciseBean;
import com.example.administrator.testxingpiao.httputils.HttpUtils;
import com.example.administrator.testxingpiao.mvp.IBaseModel;
import com.example.administrator.testxingpiao.mvp.IBasePresenter;
import com.example.administrator.testxingpiao.mvp.IBaseView;

import java.util.HashMap;

/**
 * Created by Administrator on 2016/8/7.
 */
public class ExerciseContract {
    public interface View extends IBaseView {
    public void onSuccessGetExercise(ExerciseBean exerciseListBeens);
        public void onFailGetExercise(String msg);
    }
    public interface Model extends IBaseModel {
        public void getExercise(HashMap<String, String> params, HttpUtils.HttpCallBack<ExerciseBean> callBack);
    }
    public interface  Presenter extends IBasePresenter {
        public void initData(HashMap<String, String> params);
    }
}
